package com.dong.executor;

import java.math.BigDecimal;

/**
 * @Description: TODO
 * @Auther: dongwq
 * @Date: 2021/5/13 14:20
 * @company：CTTIC
 */
public class LongNum {
    public static void main(String[] args) {
        Long  l1 = Long.valueOf(4170);
        Long  l2 = Long.valueOf(4176);

        System.out.println(Double.valueOf(l1*1.0/l2));
        double d1 = (double) Math.round((l1*1.0/l2) * 10000) / 10000;
        System.out.println(d1);
        String str =String.valueOf(d1);
        System.out.println(Double.valueOf(d1)*5);
        System.out.println(Double.valueOf(str)*5);
    }
}
